/*
 * @Author: lilin_:）
 * @version: 1.0
 * @Descripttion: 客户明细表只做查询接口
 * @Date: 2021-08-28 12:58:19
 * @LastEditors: sueRimn
 * @LastEditTime: 2021-09-23 10:51:21
 */

import request from '/@/utils/request';


/**
 * @Author: lilin_:）
 * @name: 
 * @Descripttion: 查询客户明细
 * @param {object} params
 * @return {*}
 */
export function axios_getClientSelList_user(params: object, data: any) {
	// console.log(params,'11111111')
	return request({
		url: '/client/selList',
		method: 'post',
		params: params,
		data: data
	});
}

// 通过供应商发票查询 
// 1、表头搜索根据单位ID搜索项目 此表特殊处理 
export function axios_selListByPaymentUnitId(params: object) {
	// console.log(params,'11111111')
	return request({
		url: '/contract/selListByPaymentUnitId',
		method: 'get',
		params: params,
	});
}

// 更改2021-9-23 通过单位名称查询项目名称

export function axios_selListByPaymentUnitIdNEWS(params: object) {
	// console.log(params,'11111111')
	return request({
		url: 'contract/selListByContractUnitId',
		method: 'get',
		params: params,
	});
}



/**
 * @Author: lilin_:）
 * @name: 
 * @Descripttion: 通过id查询项目名称
 * @param {object} params
 * @param {any} data
 * @return {*}
 */
export function axios_selListByContractUnitId(params: object) {
	// console.log(params,'11111111')
	return request({
		url: '/contract/selContractListTop',
		method: 'get',
		params: params
	});
}




